package com.project.service;

import com.project.entity.Major;

import java.util.List;

public interface MajorService {

    Major findById(Integer id);

    List<Major> findByDepartmentid(Integer departmentid);

    List<Major> findByCondition(Major major);

    void add(Major major);
}
